//
//  ImageCacheConfig.m
//  RBIOSBase
//
//  Created by ren on 21/11/2017.
//  Copyright © 2017 bryan. All rights reserved.
//

#import "ImageCacheConfig.h"

static const NSInteger kDefaultCacheMaxCacheAge = 60 * 60 * 24 * 7;

@implementation ImageCacheConfig

- (instancetype)init
{
	if (self = [super init]) {
		_shouldDecompressImages = YES;
		_shouldDisableiCloud = YES;
		_shouldCacheImagesInMemory = YES;
		_maxCacheAge = kDefaultCacheMaxCacheAge;
		_maxCacheSize = 0;
	}
	return self;
}

@end
